{% load static %}
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="{% static "common/jquery-1.8.2.js" %}" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            var nameV={{ name|safe }};
            alert(nameV);
        })

    </script>
</head>
<body>
<h4>进行js测试</h4>
</body>
</html>